package com.codedancer.campus.manager.service.vo.contactAdmin;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "联系管理员聊天信息Vo")
public class ContactAdminChatMessagePageVo {

    @ApiModelProperty("uuid")
    private String uuid;

    @ApiModelProperty("发送人用户uuid")
    private String sendUserUuid;

    @ApiModelProperty("发送管理员uuid")
    private String sendAdminUuid;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sendTime;

    @ApiModelProperty("用户头像")
    private String userAvatar;
}
